package com.jic.member.service;

import java.lang.Long;
import java.util.List;

import com.jic.common.base.vo.RestResult;
import com.jic.member.entity.MememberGrowthBase;
import com.jic.common.base.vo.PageResult;
import com.jic.common.base.vo.Page;
import com.jic.member.request.MemberGrowthBaseRequest;
import com.jic.member.response.MememberGrowthBaseResponse;

/**
* 会员等级基础表
* @author : 
* @email : 
* @since : 2020-04-08 11:35:06
* @version : v1.0.0
*/
public interface MememberGrowthBaseService {

    long insert(MememberGrowthBase mememberGrowthBase);

    long delete(Long id);

    RestResult<Long> update(MemberGrowthBaseRequest mememberGrowthBase);

    MememberGrowthBase queryByPrimaryKey(Long id);

    List<MememberGrowthBase> query(MememberGrowthBase mememberGrowthBase);

    PageResult<MememberGrowthBase> queryPage(MememberGrowthBase mememberGrowthBase, Page pageQuery);

    RestResult<PageResult<MememberGrowthBaseResponse>>  getGrowthInfo(MemberGrowthBaseRequest memberGrowthBaseRequest);

    MememberGrowthBaseResponse getDeptType(MemberGrowthBaseRequest memberGrowthBaseRequest);

    RestResult<PageResult<MememberGrowthBaseResponse>> queryBaseRule(MemberGrowthBaseRequest memberGrowthBaseRequest);

}